package com.wsd.jing.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.VO
 * @className: MenuVO
 * @description 菜单VO
 * @createDate 2022/11/16 11:51
 * @copyright 2022/11/16 11:51 www.tom.com Inc. All rights reserved.
 */
@Getter
@Setter
@ToString
public class MenuVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("路由名称")
    private String name;

    @ApiModelProperty("路由地址")
    private String path;

    @ApiModelProperty("路由组件")
    private String component;

    @ApiModelProperty("子路由")
    private List<MenuVO> children;

    @ApiModelProperty("元数据")
    private Map<String, Object> meta;
}
